package site.luojie.ssm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import site.luojie.ssm.domain.Account;
import site.luojie.ssm.mapper.AccountMapper;
import site.luojie.ssm.service.AccountService;

import java.util.List;

/**
 * @Description:
 * @Author jie.luo
 * @Create: 2020-05-18 08:24
 **/
@Service
@Transactional
public class AccountServiceImpl implements AccountService {

    @Autowired
    private AccountMapper accountMapper;

    @Override
    public List<Account> queryAccountList() throws Exception {
        return accountMapper.selectAccounts();
    }
}
